<template>
  <div>
      <h1 class="h1">我是路由根组件（主页）</h1>
      <!-- router-view:路由出口，在此渲染被路由上的组件 -->
      <router-view></router-view>
  </div>
</template>

<script>
export default {
    name: "ComRoot",
}
</script>

<style scoped>
    .h1 {
        color: #0f0;
    }
</style>
